Quantum Predicative Programming
نویسندگان
چکیده
The subject of this work is quantum predicative programming — the development of programs intended for execution on a quantum computer. We look at programming in the context of formal methods of program development, or programming methodology. Our work is based on probabilistic predicative programming, a recent generalisation of the well-established predicative programming. It supports the style of program development in which each programming step is proven correct as it is made. We inherit the advantages of the theory, such as its generality, simple treatment of recursive programs, time and space complexity, and communication. Our theory of quantum programming provides tools to write both classical and quantum specifications, develop quantum programs that implement these specifications, and reason about their comparative time and space complexity all in the same framework.
منابع مشابه
Probabilistic Predicative Programming
This paper shows how probabilistic reasoning can be applied to the predicative style of programming.
متن کاملUsing an Object-Oriented Predicative Style to Solve the Invoicing Case Study
We apply the predicative programming formal method of [2] in specifying and designing a solution to the invoicing case study. The method is used in an object-oriented style: first-class citizens of the descriptions are classes and objects. We discuss some of the advantages to using the predicative method in its object-oriented style, as well as its limitations in this problem domain.
متن کاملA Predicative Type-Theoretic Interpretation of Objects
Predicative type theories are powerful tools for giving foundational interpretations of programming languages. Due to their explicit inductive construction, predicative type theories have multiple mathematical models that provide precise de nitions of programming language features. However, not all features have predicative interpretations, and current interpretations of objects rely on impredi...
متن کاملUsing an Object-Oriented Predicative Style to Solve the Invoicing Problem
We apply the predicative programming formal method of [2] in specifying and designing a solution to the invoicing case study. The method is used in an object-oriented style: first-class citizens of the descriptions are classes and objects. We discuss some of the advantages to using the predicative method in its object-oriented style, as well as its limitations in this problem domain.
متن کاملBunches for Object-Oriented, Concurrent, and Real-Time Specification
We show how a collection of object-oriented concepts can be directly expressed in predicative programming [6]. We demonstrate how these features can be used in cooperation with the existing real-time and concurrency features of predicative programming in several examples, thus providing a simple integration of object-orientation, real-time, and concurrency.
متن کامل